package com.ysx.teacher.day20210923.ch04;

public class Dad {


    public Dad(){
        System.out.println("准备资源...");
    }

    public void getConnection(){
        System.out.println("获得1个数据库连接...");
    }

    public void closeConnection(){
        System.out.println("关闭数据库连接...");
    }
}
